#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    ui->label->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);

    ui->label_2->setAlignment(Qt::AlignRight);

    ui->label_3->setAlignment(Qt::AlignLeft);

    ui->label->setText("这是大事大师凡是付款了，阿森纳分厘卡HFIOAFHOKFHO");
    ui->label->setWordWrap(1);
    ui->label->setIndent(0);

}

Widget::~Widget()
{
    delete ui;
}

